package com.yykj.drup.server.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.yykj.drup.server.model.Store;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zengg
 * @since 2022-03-09
 */
public interface StoreService extends IService<Store> {

    List<Store> findByDoctorId(String doctorId);

    /**
     * 获取药店列表，医生常用药店优先
     * @param doctorId
     * @return
     */
    List<Store> findStoreList(String doctorId,String storeName);

    /**
     * 获取包含药品的药店信息
     * @param productIds
     */
    List<Store>  getPrescriptionStoreProductDtoByproductIds(List<Integer> productIds);

}
